<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://apps.bdimg.com/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<input type="button" value="点击确认" onclick="checkOn()">

<script>
    function checkOn() {
        $.get('http://localhost:8000/api-order/order/add', function (data) {
            alert(data)
        });
    }
</script>
</body>
</html>
